package com.yu.model.pojo;


import org.springframework.web.bind.annotation.*;

@ControllerAdvice(annotations = {RequestMapping.class, Mapping.class})
@ResponseBody
public class GlobalExpectationHandler {

    @ExceptionHandler
    public Result exceptionHandler(){
        return Result.error("");
    }
}
